import Vue from 'vue'

Vue.prototype.$setTitle=function(text) {
    document.title = text;
}
Vue.prototype.$getPX=function (design,designWidth=720) {
    var html = document.documentElement;
    var actualWidth = html.getBoundingClientRect().width;
    var scale=actualWidth/designWidth;
    var px=design * scale
    return px
}
